package beautiful.butterfly.schedule.task_manager;

import lombok.Getter;
import lombok.Setter;

import java.sql.Timestamp;


public class TaskHandler {
    //ip$serverId
    @Setter
    @Getter
    public String ip;
    @Setter
    @Getter
    public String serverId;
    @Setter
    @Getter
    public long id;
    @Setter
    @Getter
    public String baseTaskType;
    @Setter
    @Getter
    public String taskType;
    @Setter
    @Getter
    public String ownSign;
    @Setter
    @Getter
    public String hostName;
    @Setter
    @Getter
    public int threadNum;
    @Setter
    @Getter
    public Timestamp registerTime;
    @Setter
    @Getter
    public Timestamp heartBeatTime;
    @Setter
    @Getter
    public Timestamp lastFetchDataTime;
    /**
     * FetchDataCount=4430,FetcheDataNum=438570,DealDataSucess=438570,DealDataFail=0,DealSpendTime=651066
     */
    @Setter
    @Getter
    public String dealInfoDesc;
    @Setter
    @Getter
    public String nextRunStartTime;
    @Setter
    @Getter
    public String nextRunEndTime;
    @Setter
    @Getter
    public Timestamp centerServerTime;
    @Setter
    @Getter
    public long version;
    @Setter
    @Getter
    public boolean isRegister;
    @Setter
    @Getter
    public String machineId;

    public TaskHandler() {

    }

}
